package com.zjs.jsp.domain.axd;

import com.zjs.jsp.domain.jsp.Jsp_Items;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class items
{
	/**
	 * 商品编号
	 */
	@ApiModelProperty(value = "商品编号")
    private String item_id;

	/**
	 * 商品名称
	 */
	@ApiModelProperty(value = "商品名称")
	private String item_name;

	/**
	 * 商品数量
	 */
    @ApiModelProperty(value = "商品数量")
	private Integer item_quantity;

	/**
	 * 商品原价
	 */
    @ApiModelProperty(value = "商品原价")
	private BigDecimal item_price;

	/**
	 * 商品实际支付金额
	 */
    @ApiModelProperty(value = "商品实际支付金额")
	private BigDecimal item_actual_price;




    public Jsp_Items toJspItems()
    {
        Jsp_Items j=new Jsp_Items();
        j.setIap(item_actual_price);
        j.setIi(item_id);
        j.setIn(item_name);
        j.setIp(item_price);
        j.setIq(item_quantity);
        return  j;
    }
}